package cn.iocoder.yudao.module.system.controller.admin.merchant.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author 梁富贵
 * @Date 2024/10/18
 **/
@Schema(description = "管理后台-商家申请 Request VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantApplicationPageReqVO extends PageParam {

    @Schema(description = "商户名称", example = "王五")
    private String merchantName;

    @Schema(description = "联系人电话", example = "15601691300")
    private String contactPhone;

    @Schema(description = "法人姓名", example = "王五")
    private String legalRepresentative;

    @Schema(description = "认证商家类型", example = "1")
    private Integer identify;

    @Schema(description = "认证状态", example = "0")
    private Integer certificationStatus;

    @Schema(description = "认证时间", example = "2022-07-01 00:00:00")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] certificationDate;

 }
